﻿using System;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Drawing.Printing;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.IO;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraBars;
using DevExpress.Skins;
using DevExpress.LookAndFeel;
using DevExpress.XtraNavBar;
using DevExpress.XtraBars.Ribbon;
using DevExpress.Utils.Drawing;
using DevExpress.XtraBars.Ribbon.ViewInfo;
using DevExpress;
using DevExpress.Utils;
using DevExpress.XtraPrinting;
using DevExpress.XtraBars.Helpers;



namespace Presentation
{
    public partial class frmMain : RibbonForm
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void frmMain_Load(object sender, EventArgs e)
        {
            frmLogin frmlog = new frmLogin();
            frmlog.MdiParent = this;
            frmlog.Show();
           // this.rbcMain.Enabled = false;
        }

        private void btnLapChuyenBay_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmChuyenBay frmCB = new frmChuyenBay();
            frmCB.MdiParent = this;
            frmCB.Show();
        }

        private void btnDatMuaVe_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmBanVe frmVe = new frmBanVe();
            frmVe.MdiParent = this;
            frmVe.Show();
        }

        private void btnKhachHang_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmKhachHang frmKh = new frmKhachHang();
            frmKh.MdiParent = this;
            frmKh.Show();
        }

        private void btnTraCuu_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmTraCuu frmTC = new frmTraCuu();
            frmTC.MdiParent = this;
            frmTC.Show();
        }

        private void btnBaoCaoThongKe_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmBaoCaoThongKe frmBC = new frmBaoCaoThongKe();
            frmBC.MdiParent = this;
            frmBC.Show();
        }

        private void btnThamSo_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmThamSo frmTS = new frmThamSo();
            frmTS.MdiParent = this;
            frmTS.Show();
        }

    }
}
